/**
 * 
 */
package com.ssm.service;

import java.util.List;

import com.ssm.entity.Book;
import com.ssm.exception.AppointExecution;

/**
 * @author xieqiang_daye
 *
 */
public interface BookService {
    /*
     * 查询一本图书
     * */
	Book getById(long bookId);
	
	//查询所有图书
	
	List<Book> getList();
	
	
	//预约图书
	
	AppointExecution appoint(long bookId,long studentId);

}
